/*
* Copyright 2025 NXP
* NXP Proprietary. This software is owned or controlled by NXP and may only be used strictly in
* accordance with the applicable license terms. By expressly accepting such terms or by downloading, installing,
* activating and/or otherwise using the software, you are agreeing that you have read, and that you agree to
* comply with and are bound by, such license terms.  If you do not agree to be bound by the applicable license
* terms, then you may not retain, install, activate or otherwise use the software.
*/

#include "lvgl.h"
#include <stdio.h>
#include "gui_guider.h"
#include "events_init.h"
#include "widgets_init.h"
#include "custom.h"



void setup_scr_message_list(lv_ui *ui)
{
    //Write codes message_list
    ui->message_list = lv_obj_create(NULL);
    lv_obj_set_size(ui->message_list, 480, 480);
    lv_obj_set_scrollbar_mode(ui->message_list, LV_SCROLLBAR_MODE_OFF);

    //Write style for message_list, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_bg_opa(ui->message_list, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_image_src(ui->message_list, "S:/res/image/img_bg_2.bin", LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_image_opa(ui->message_list, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_image_recolor_opa(ui->message_list, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes message_list_cont_messagesList
    ui->message_list_cont_messagesList = lv_obj_create(ui->message_list);
    lv_obj_set_pos(ui->message_list_cont_messagesList, 55, 7);
    lv_obj_set_size(ui->message_list_cont_messagesList, 366, 462);
    lv_obj_set_scrollbar_mode(ui->message_list_cont_messagesList, LV_SCROLLBAR_MODE_OFF);

    //Write style for message_list_cont_messagesList, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->message_list_cont_messagesList, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->message_list_cont_messagesList, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->message_list_cont_messagesList, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->message_list_cont_messagesList, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->message_list_cont_messagesList, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->message_list_cont_messagesList, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->message_list_cont_messagesList, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->message_list_cont_messagesList, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes message_list_label_12
    ui->message_list_label_12 = lv_label_create(ui->message_list_cont_messagesList);
    lv_obj_set_pos(ui->message_list_label_12, 115, 335);
    lv_obj_set_size(ui->message_list_label_12, 121, 22);
    lv_label_set_text(ui->message_list_label_12, "09:25");
    lv_label_set_long_mode(ui->message_list_label_12, LV_LABEL_LONG_WRAP);

    //Write style for message_list_label_12, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->message_list_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->message_list_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->message_list_label_12, lv_color_hex(0x757575), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->message_list_label_12, lv_font_montserratMedium_18_bin, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->message_list_label_12, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->message_list_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->message_list_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->message_list_label_12, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->message_list_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->message_list_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->message_list_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->message_list_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->message_list_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->message_list_label_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes message_list_label_11
    ui->message_list_label_11 = lv_label_create(ui->message_list_cont_messagesList);
    lv_obj_set_pos(ui->message_list_label_11, 71, 303);
    lv_obj_set_size(ui->message_list_label_11, 225, 23);
    lv_label_set_text(ui->message_list_label_11, "Liked your photo");
    lv_label_set_long_mode(ui->message_list_label_11, LV_LABEL_LONG_WRAP);

    //Write style for message_list_label_11, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->message_list_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->message_list_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->message_list_label_11, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->message_list_label_11, lv_font_montserratMedium_18_bin, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->message_list_label_11, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->message_list_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->message_list_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->message_list_label_11, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->message_list_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->message_list_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->message_list_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->message_list_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->message_list_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->message_list_label_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes message_list_label_10
    ui->message_list_label_10 = lv_label_create(ui->message_list_cont_messagesList);
    lv_obj_set_pos(ui->message_list_label_10, 97, 265);
    lv_obj_set_size(ui->message_list_label_10, 156, 37);
    lv_label_set_text(ui->message_list_label_10, "Sabrina");
    lv_label_set_long_mode(ui->message_list_label_10, LV_LABEL_LONG_WRAP);

    //Write style for message_list_label_10, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->message_list_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->message_list_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->message_list_label_10, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->message_list_label_10, lv_font_montserratMedium_30_bin, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->message_list_label_10, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->message_list_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->message_list_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->message_list_label_10, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->message_list_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->message_list_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->message_list_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->message_list_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->message_list_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->message_list_label_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes message_list_img_7
    ui->message_list_img_7 = lv_image_create(ui->message_list_cont_messagesList);
    lv_obj_set_pos(ui->message_list_img_7, 159, 209);
    lv_obj_set_size(ui->message_list_img_7, 42, 42);
    lv_obj_add_flag(ui->message_list_img_7, LV_OBJ_FLAG_CLICKABLE);
    lv_image_set_src(ui->message_list_img_7, "S:/res/image/icn_insta.bin");
    lv_image_set_pivot(ui->message_list_img_7, 50,50);
    lv_image_set_rotation(ui->message_list_img_7, 0);

    //Write style for message_list_img_7, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_image_recolor_opa(ui->message_list_img_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_image_opa(ui->message_list_img_7, 255, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes message_list_label_9
    ui->message_list_label_9 = lv_label_create(ui->message_list_cont_messagesList);
    lv_obj_set_pos(ui->message_list_label_9, 122, 149);
    lv_obj_set_size(ui->message_list_label_9, 121, 30);
    lv_label_set_text(ui->message_list_label_9, "1 min ago");
    lv_label_set_long_mode(ui->message_list_label_9, LV_LABEL_LONG_WRAP);

    //Write style for message_list_label_9, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->message_list_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->message_list_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->message_list_label_9, lv_color_hex(0x757575), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->message_list_label_9, lv_font_montserratMedium_18_bin, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->message_list_label_9, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->message_list_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->message_list_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->message_list_label_9, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->message_list_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->message_list_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->message_list_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->message_list_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->message_list_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->message_list_label_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes message_list_label_15
    ui->message_list_label_15 = lv_label_create(ui->message_list_cont_messagesList);
    lv_obj_set_pos(ui->message_list_label_15, 113, 525);
    lv_obj_set_size(ui->message_list_label_15, 121, 30);
    lv_label_set_text(ui->message_list_label_15, "5 min ago");
    lv_label_set_long_mode(ui->message_list_label_15, LV_LABEL_LONG_WRAP);

    //Write style for message_list_label_15, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->message_list_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->message_list_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->message_list_label_15, lv_color_hex(0x757575), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->message_list_label_15, lv_font_montserratMedium_18_bin, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->message_list_label_15, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->message_list_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->message_list_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->message_list_label_15, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->message_list_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->message_list_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->message_list_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->message_list_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->message_list_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->message_list_label_15, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes message_list_label_8
    ui->message_list_label_8 = lv_label_create(ui->message_list_cont_messagesList);
    lv_obj_set_pos(ui->message_list_label_8, 26, 116);
    lv_obj_set_size(ui->message_list_label_8, 315, 23);
    lv_label_set_text(ui->message_list_label_8, "How are you? I will meet with...");
    lv_label_set_long_mode(ui->message_list_label_8, LV_LABEL_LONG_WRAP);

    //Write style for message_list_label_8, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->message_list_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->message_list_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->message_list_label_8, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->message_list_label_8, lv_font_montserratMedium_18_bin, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->message_list_label_8, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->message_list_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->message_list_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->message_list_label_8, LV_TEXT_ALIGN_LEFT, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->message_list_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->message_list_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->message_list_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->message_list_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->message_list_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->message_list_label_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes message_list_label_7
    ui->message_list_label_7 = lv_label_create(ui->message_list_cont_messagesList);
    lv_obj_set_pos(ui->message_list_label_7, 132, 71);
    lv_obj_set_size(ui->message_list_label_7, 108, 37);
    lv_label_set_text(ui->message_list_label_7, "Elena");
    lv_label_set_long_mode(ui->message_list_label_7, LV_LABEL_LONG_WRAP);

    //Write style for message_list_label_7, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->message_list_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->message_list_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->message_list_label_7, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->message_list_label_7, lv_font_montserratMedium_30_bin, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->message_list_label_7, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->message_list_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->message_list_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->message_list_label_7, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->message_list_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->message_list_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->message_list_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->message_list_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->message_list_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->message_list_label_7, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes message_list_app_icon
    ui->message_list_app_icon = lv_image_create(ui->message_list_cont_messagesList);
    lv_obj_set_pos(ui->message_list_app_icon, 166, -48);
    lv_obj_set_size(ui->message_list_app_icon, 46, 46);
    lv_obj_add_flag(ui->message_list_app_icon, LV_OBJ_FLAG_CLICKABLE);
    lv_image_set_src(ui->message_list_app_icon, "S:/res/image/icn_whatsapp.bin");
    lv_image_set_pivot(ui->message_list_app_icon, 50,50);
    lv_image_set_rotation(ui->message_list_app_icon, 0);

    //Write style for message_list_app_icon, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_image_recolor_opa(ui->message_list_app_icon, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_image_opa(ui->message_list_app_icon, 255, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes message_list_img_8
    ui->message_list_img_8 = lv_image_create(ui->message_list_cont_messagesList);
    lv_obj_set_pos(ui->message_list_img_8, 18, 189);
    lv_obj_set_size(ui->message_list_img_8, 304, 1);
    lv_obj_add_flag(ui->message_list_img_8, LV_OBJ_FLAG_CLICKABLE);
    lv_image_set_src(ui->message_list_img_8, "S:/res/image/img_line_2.bin");
    lv_image_set_pivot(ui->message_list_img_8, 50,50);
    lv_image_set_rotation(ui->message_list_img_8, 0);

    //Write style for message_list_img_8, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_image_recolor_opa(ui->message_list_img_8, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_image_opa(ui->message_list_img_8, 255, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes message_list_img_9
    ui->message_list_img_9 = lv_image_create(ui->message_list_cont_messagesList);
    lv_obj_set_pos(ui->message_list_img_9, 47, 379);
    lv_obj_set_size(ui->message_list_img_9, 282, 1);
    lv_obj_add_flag(ui->message_list_img_9, LV_OBJ_FLAG_CLICKABLE);
    lv_image_set_src(ui->message_list_img_9, "S:/res/image/img_line_1.bin");
    lv_image_set_pivot(ui->message_list_img_9, 50,50);
    lv_image_set_rotation(ui->message_list_img_9, 0);

    //Write style for message_list_img_9, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_image_recolor_opa(ui->message_list_img_9, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_image_opa(ui->message_list_img_9, 255, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes message_list_img_10
    ui->message_list_img_10 = lv_image_create(ui->message_list_cont_messagesList);
    lv_obj_set_pos(ui->message_list_img_10, 159, 407);
    lv_obj_set_size(ui->message_list_img_10, 42, 42);
    lv_obj_add_flag(ui->message_list_img_10, LV_OBJ_FLAG_CLICKABLE);
    lv_image_set_src(ui->message_list_img_10, "S:/res/image/icn_insta.bin");
    lv_image_set_pivot(ui->message_list_img_10, 50,50);
    lv_image_set_rotation(ui->message_list_img_10, 0);

    //Write style for message_list_img_10, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_image_recolor_opa(ui->message_list_img_10, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_image_opa(ui->message_list_img_10, 255, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes message_list_label_13
    ui->message_list_label_13 = lv_label_create(ui->message_list_cont_messagesList);
    lv_obj_set_pos(ui->message_list_label_13, 124, 459);
    lv_obj_set_size(ui->message_list_label_13, 108, 37);
    lv_label_set_text(ui->message_list_label_13, "Monk");
    lv_label_set_long_mode(ui->message_list_label_13, LV_LABEL_LONG_WRAP);

    //Write style for message_list_label_13, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->message_list_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->message_list_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->message_list_label_13, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->message_list_label_13, lv_font_montserratMedium_30_bin, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->message_list_label_13, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->message_list_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->message_list_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->message_list_label_13, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->message_list_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->message_list_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->message_list_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->message_list_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->message_list_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->message_list_label_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes message_list_label_14
    ui->message_list_label_14 = lv_label_create(ui->message_list_cont_messagesList);
    lv_obj_set_pos(ui->message_list_label_14, 35, 495);
    lv_obj_set_size(ui->message_list_label_14, 324, 23);
    lv_label_set_text(ui->message_list_label_14, "Do you like to play basketball? ");
    lv_label_set_long_mode(ui->message_list_label_14, LV_LABEL_LONG_WRAP);

    //Write style for message_list_label_14, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_border_width(ui->message_list_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_radius(ui->message_list_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_color(ui->message_list_label_14, lv_color_hex(0xffffff), LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_font(ui->message_list_label_14, lv_font_montserratMedium_18_bin, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_opa(ui->message_list_label_14, 255, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_letter_space(ui->message_list_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_line_space(ui->message_list_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_text_align(ui->message_list_label_14, LV_TEXT_ALIGN_CENTER, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_bg_opa(ui->message_list_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_top(ui->message_list_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_right(ui->message_list_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_bottom(ui->message_list_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_pad_left(ui->message_list_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_shadow_width(ui->message_list_label_14, 0, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes message_list_img_11
    ui->message_list_img_11 = lv_image_create(ui->message_list);
    lv_obj_set_pos(ui->message_list_img_11, 401, 328);
    lv_obj_set_size(ui->message_list_img_11, 45, 61);
    lv_obj_add_flag(ui->message_list_img_11, LV_OBJ_FLAG_CLICKABLE);
    lv_image_set_src(ui->message_list_img_11, "S:/res/image/text_home.bin");
    lv_image_set_pivot(ui->message_list_img_11, 50,50);
    lv_image_set_rotation(ui->message_list_img_11, 0);

    //Write style for message_list_img_11, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_image_recolor_opa(ui->message_list_img_11, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_image_opa(ui->message_list_img_11, 255, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes message_list_img_13
    ui->message_list_img_13 = lv_image_create(ui->message_list);
    lv_obj_set_pos(ui->message_list_img_13, 6, 220);
    lv_obj_set_size(ui->message_list_img_13, 12, 37);
    lv_obj_add_flag(ui->message_list_img_13, LV_OBJ_FLAG_FLOATING);
    lv_obj_add_flag(ui->message_list_img_13, LV_OBJ_FLAG_CLICKABLE);
    lv_image_set_src(ui->message_list_img_13, "S:/res/image/img_arrow_left.bin");
    lv_image_set_pivot(ui->message_list_img_13, 50,50);
    lv_image_set_rotation(ui->message_list_img_13, 0);

    //Write style for message_list_img_13, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_image_recolor_opa(ui->message_list_img_13, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_image_opa(ui->message_list_img_13, 255, LV_PART_MAIN|LV_STATE_DEFAULT);

    //Write codes message_list_img_12
    ui->message_list_img_12 = lv_image_create(ui->message_list);
    lv_obj_set_pos(ui->message_list_img_12, 460, 220);
    lv_obj_set_size(ui->message_list_img_12, 12, 37);
    lv_obj_add_flag(ui->message_list_img_12, LV_OBJ_FLAG_FLOATING);
    lv_obj_add_flag(ui->message_list_img_12, LV_OBJ_FLAG_CLICKABLE);
    lv_image_set_src(ui->message_list_img_12, "S:/res/image/img_arrow_right.bin");
    lv_image_set_pivot(ui->message_list_img_12, 50,50);
    lv_image_set_rotation(ui->message_list_img_12, 0);

    //Write style for message_list_img_12, Part: LV_PART_MAIN, State: LV_STATE_DEFAULT.
    lv_obj_set_style_image_recolor_opa(ui->message_list_img_12, 0, LV_PART_MAIN|LV_STATE_DEFAULT);
    lv_obj_set_style_image_opa(ui->message_list_img_12, 255, LV_PART_MAIN|LV_STATE_DEFAULT);

    //The custom code of message_list.


    //Update current screen layout.
    lv_obj_update_layout(ui->message_list);

    //Init events for screen.
    events_init_message_list(ui);
}
